package com.futureCloudMOM;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class },scanBasePackages = {"com.futureCloudMOM"})
@MapperScan("com.futureCloudMOM.*.mapper")
@EnableSwagger2
@EnableKnife4j
@Slf4j
public class FutureCloudMOMApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");

        SpringApplication.run(FutureCloudMOMApplication.class, args);        System.out.println("swagger地址: http://localhost:10086/futureCloudMOM/doc.html");
    }
}